package com.forum.mapper;

import com.forum.pojo.FriendsRela;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;

/**
* @author 86152
* @description 针对表【friends_rela】的数据库操作Mapper
* @createDate 2023-01-31 00:42:33
* @Entity com.forum.pojo.FriendsRela
*/
@Mapper
public interface FriendsRelaMapper extends BaseMapper<FriendsRela> {

    List getMyFriend(@Param("userId") Long userId);

   Integer findRela(@Param("userId") Long userId, @Param("friendId") Long friendId);
}




